﻿<UserControl x:Class="BusinessManager.UIControls.EmployeeManagerControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:Helper="clr-namespace:BusinessManager.Helps"
             xmlns:sys="clr-namespace:System;assembly=mscorlib"
             mc:Ignorable="d"  Loaded="UserControl_Loaded"
             d:DesignHeight="300" d:DesignWidth="1000">
    <UserControl.Resources>
        <Helper:OperationEnumToBoolConverter x:Key="operationEnumToBoolConverter"/>
        <Helper:OperationEnumToVisibilityConverter x:Key="operationEnumToVisibilityConverter"/>
        <Helper:OperationEnumToNoVisibilityConverter x:Key="operationEnumToNoVisibilityConverter"/>
        <Helper:IDToBoolConverter x:Key="idToBoolConverter"/>

        <sys:Boolean x:Key="boolParam_true">true</sys:Boolean>
        <sys:Boolean x:Key="boolParam_false">false</sys:Boolean>

        <CollectionViewSource x:Key="DepartmentViewSource" />
    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <Border BorderBrush="#FFC2C2C2" BorderThickness="1,1,1,0" Width="200" Background="{StaticResource BgColor}" IsEnabled="{Binding SelectedValue.Key, ElementName=OperationTypeList,Converter={StaticResource operationEnumToBoolConverter},ConverterParameter={StaticResource boolParam_true}}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="25"/>
                        <ColumnDefinition Width="auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Path Grid.Column="0" Fill="{StaticResource FgColor}" Height="15" Width="15" Stretch="Fill" Data="M45.000001,15 C28.431458,15 15.000001,28.431458 15.000001,45 15.000001,61.568542 28.431458,75 45.000001,75 61.568543,75 75.000001,61.568542 75.000001,45 75.000001,28.431458 61.568543,15 45.000001,15 z M45.000001,0 C69.852814,0 90.000001,20.147186 90.000001,45 90.000001,54.70813 86.925782,63.698238 81.697739,71.049934 L81.199387,71.733231 104.35693,94.89077 C107.18823,97.722069 107.18823,102.31252 104.35693,105.14381 L103.64982,105.85092 C100.81851,108.68222 96.228066,108.68222 93.396767,105.85092 L69.979386,82.43354 69.25454,82.910645 C62.255227,87.39798 53.931481,90 45.000001,90 20.147187,90 5.8843307E-07,69.852814 0,45 5.8843307E-07,20.147186 20.147187,0 45.000001,0 z"/>
                    <!--<ComboBox x:Name="FitterSearchComboBox" Grid.Column="1" Width="60" IsEditable="False" BorderBrush="{x:Null}" ItemsSource="{x:Static Helper:ResourceMap.EmployeeSearchTypeHashtable}" DisplayMemberPath="Value" SelectedValuePath="Key" SelectedIndex="0" SelectionChanged="FitterSearchComboBox_SelectionChanged" FontSize="14" />-->
                    <TextBlock Text="姓名" Foreground="{StaticResource FgColor}" Grid.Column="1" Margin="1,0,5,0" VerticalAlignment="Center" FontSize="14"/>
                    <TextBox x:Name="FitterGeneralText" Height="28" Grid.Column="2" BorderBrush="{x:Null}" FontSize="14" TextChanged="FitterGeneralText_TextChanged" />
                </Grid>
            </Border>
            <Border BorderBrush="#FFC2C2C2" BorderThickness="0,1,1,0" Grid.Column="1" Width="200" Background="{StaticResource BgColor}" IsEnabled="{Binding SelectedValue.Key, ElementName=OperationTypeList,Converter={StaticResource operationEnumToBoolConverter},ConverterParameter={StaticResource boolParam_true}}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="25"/>
                        <ColumnDefinition Width="auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Path Grid.Column="0" Fill="{StaticResource FgColor}" Height="16" Width="18" Stretch="Fill" Data="M21.774015,0L42.225989,0 42.225989,16.971006 33.101989,16.971006 33.101989,23.257011 39.572003,23.257011 39.572003,28.702004 48.85902,28.702004 48.85902,23.257006 64.000021,23.257006 64.000021,35.823006 48.85902,35.823006 48.85902,30.904008 39.572003,30.904008 39.572003,35.823002 24.428022,35.823002 24.428022,30.904008 15.142998,30.904008 15.142998,35.823002 0,35.823002 0,23.257011 15.142998,23.257011 15.142998,28.702004 24.428022,28.702004 24.428022,23.257011 30.901001,23.257011 30.901001,16.971006 21.774015,16.971006z"/>
                    <TextBlock Text="部门" Foreground="{StaticResource FgColor}" Grid.Column="1" Margin="1,0,5,0" VerticalAlignment="Center" FontSize="14"/>
                    <ComboBox x:Name="DepartmentComboBox" Grid.Column="2" ItemsSource="{Binding Source={StaticResource DepartmentViewSource}}" FontSize="14" BorderBrush="{x:Null}" IsEditable="False" SelectionChanged="DepartmentComboBox_SelectionChanged" IsSynchronizedWithCurrentItem="false" DisplayMemberPath="DepartmentName" SelectedIndex="0"/>
                </Grid>
            </Border>
            <ListBox x:Name="OperationTypeList" Grid.Column="3" ItemContainerStyle="{StaticResource OperationItem}" ItemsPanel="{StaticResource OperationItemsPanelTemplate}" SelectedIndex="0"
                     ItemsSource="{x:Static Helper:ResourceMap.GeneralOperationTypeHasntable}" DisplayMemberPath="Value" BorderThickness="0" SelectionChanged="OperationTypeList_SelectionChanged"/>
        </Grid>
        <ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
            <StackPanel VerticalAlignment="Top">
                <DataGrid x:Name="EmployeeDataGrid"
                  AutoGenerateColumns="False" CanUserSortColumns="True" CanUserAddRows="False" HorizontalScrollBarVisibility="Disabled"
                  IsReadOnly="{Binding SelectedValue.Key, ElementName=OperationTypeList,Converter={StaticResource operationEnumToBoolConverter},ConverterParameter={StaticResource boolParam_true}}"
                  CanUserReorderColumns="False">

                    <DataGrid.Columns>
                        <DataGridTemplateColumn Header="状态" Width="60" >
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding EmployeeStatus}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding AccountingSupervisorID,Converter={StaticResource stringFormatForIDConverter}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <ComboBox SelectedValue="{Binding StatusID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="13" BorderBrush="{x:Null}" ItemsSource="{Binding SelectionWorkStatusInfoList}" DisplayMemberPath="StatusName" SelectedValuePath="ID" IsEditable="False"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="姓名" Width="100" CanUserSort="True" SortMemberPath="EmployeeName">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding EmployeeName}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding AccountingSupervisorID,Converter={StaticResource stringFormatForIDConverter}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <TextBox Text="{Binding EmployeeName,Mode=TwoWay}" BorderBrush="{x:Null}" BorderThickness="0"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="性别" Width="100" CanUserSort="True" SortMemberPath="EmployeeSex">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding EmployeeSexStr}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding AccountingSupervisorID,Converter={StaticResource stringFormatForIDConverter}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <ComboBox SelectedValue="{Binding EmployeeSex,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="13" BorderBrush="{x:Null}" ItemsSource="{x:Static  Helper:ResourceMap.EmployeeSexHasntable}" DisplayMemberPath="Value" SelectedValuePath="Key" IsEditable="False" SelectedIndex="0"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="籍贯" Width="150">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding EmployeeFrom}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Text,RelativeSource={RelativeSource Self}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <TextBox Text="{Binding EmployeeFrom,Mode=TwoWay}" BorderBrush="{x:Null}" BorderThickness="0"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="出生年月" Width="100">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding EmployeeBirthday,StringFormat={}{0:yyyy-MM}}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Text,RelativeSource={RelativeSource Self}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <DatePicker SelectedDate="{Binding Path=EmployeeBirthday, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" BorderThickness="0" VerticalContentAlignment="Stretch" FontSize="13"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="入职时间" Width="100" CanUserSort="True" SortMemberPath="EntryTime">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding EntryTime,StringFormat={}{0:yyyy-MM-dd}}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Text,RelativeSource={RelativeSource Self}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <DatePicker SelectedDate="{Binding Path=EntryTime, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" BorderThickness="0" VerticalContentAlignment="Stretch" FontSize="13"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="职务" Width="100">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding PostName}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Text,RelativeSource={RelativeSource Self}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <ComboBox SelectedValue="{Binding PostID,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" FontSize="13" ToolTip="{Binding SelectedValue,Converter={StaticResource stringFormatForIDConverter},RelativeSource={RelativeSource Self}}" BorderBrush="{x:Null}" ItemsSource="{Binding SelectionPostInfoList}" DisplayMemberPath="PostName" SelectedValuePath="ID" IsEditable="False" IsSynchronizedWithCurrentItem="False" SelectedIndex="0"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="基本工资" Width="100">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding BasicSalary}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Text,RelativeSource={RelativeSource Self}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <TextBox Text="{Binding BasicSalary,Mode=TwoWay}" BorderBrush="{x:Null}" BorderThickness="0"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                        <DataGridTemplateColumn Header="备注" Width="*">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding Remark}" HorizontalAlignment="Center" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" ToolTip="{Binding Text,RelativeSource={RelativeSource Self}}"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                            <DataGridTemplateColumn.CellEditingTemplate>
                                <DataTemplate>
                                    <TextBox Text="{Binding Remark,Mode=TwoWay}" BorderBrush="{x:Null}" BorderThickness="0"/>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellEditingTemplate>
                        </DataGridTemplateColumn>
                    </DataGrid.Columns>
                </DataGrid>
                <Grid Height="30" Margin="0.6" Visibility="{Binding SelectedValue.Key,ElementName=OperationTypeList,Converter={StaticResource operationEnumToNoVisibilityConverter}}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="0.6"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Button x:Name="AddBtn"  Style="{StaticResource BtnStyle}" Cursor="Hand"  ToolTip="添加" Click="AddBtn_Click">
                        <Button.Background>
                            <VisualBrush>
                                <VisualBrush.Visual>
                                    <Rectangle StrokeDashArray="1,2" Stroke="Black" StrokeThickness="1"
                                           Height="{Binding ActualHeight,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}"
                                           Width="{Binding ActualWidth,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}"/>
                                </VisualBrush.Visual>
                            </VisualBrush>
                        </Button.Background>
                        <Path Width="20" Height="20" Stretch="Fill" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}" Data="F1 M 26.9167,38L 31.6667,38L 31.6667,45.9167L 39.5833,45.9167L 39.5833,50.6667L 31.6667,50.6667L 31.6667,58.5833L 26.9167,58.5833L 26.9167,50.6667L 19,50.6667L 19,45.9167L 26.9167,45.9167L 26.9167,38 Z M 38,19C 43.5417,19 45.9167,22.1667 45.1174,28.8134C 45.8315,29.2229 46.3125,29.9928 46.3125,30.875C 46.3125,31.9545 45.5923,32.8658 44.6061,33.1546C 44.1941,34.623 43.5543,35.9229 42.75,36.9628L 42.75,41.9583C 45.3889,42.4861 47.5,42.75 50.6667,44.3333C 53.8333,45.9167 54.8889,47.3681 57,49.4792L 57,57L 33.25,57L 33.25,52.25L 41.1667,52.25L 41.1666,44.3333L 33.25,44.3333L 33.25,36.9628L 33.25,36.4167L 32.8586,36.4167C 32.237,35.4811 31.7366,34.3762 31.3939,33.1546C 30.4077,32.8658 29.6875,31.9545 29.6875,30.875C 29.6875,29.9928 30.1685,29.2229 30.8826,28.8134C 30.0833,22.1667 32.4583,19 38,19 Z M 19,57L 19,52.25L 25.3333,52.25L 25.3333,57L 19,57 Z"/>
                    </Button>
                    <Button x:Name="DeleteNewBtn" Grid.Column="2"  Style="{StaticResource DeleteStyle}" Cursor="Hand"  ToolTip="删除未保存项" IsEnabled="{Binding SelectedValue.ID,ElementName=EmployeeDataGrid, Converter={StaticResource idToBoolConverter}}" Click="DeleteNewBtn_Click">
                        <Button.Background>
                            <VisualBrush>
                                <VisualBrush.Visual>
                                    <Rectangle StrokeDashArray="1,2" Stroke="Black" StrokeThickness="1"
                                           Height="{Binding ActualHeight,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}"
                                           Width="{Binding ActualWidth,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}"/>
                                </VisualBrush.Visual>
                            </VisualBrush>
                        </Button.Background>
                        <Path Width="20" Height="20" Stretch="Fill" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}" Data="F1 M17,2.0910716 C24.761499,1.2201797 53.795077,26.462324 57.261926,30 61.283137,27.144705 87.524799,6.0009238 112.48433,3 112.94794,3.1928839 113.12278,3.5303927 113.12278,3.8633927 113.07072,4.3995821 112.48139,4.7638684 112.04911,4.9089284 98.077111,11.283928 86.618,20.243 75,29 71.664,31.514 65.279679,38.545569 65.279679,38.878569 65.612679,38.878569 95.356775,69.412714 95.901775,95.635714 95.663345,95.995171 95.24589,96.109011&#xa;94.884022,95.795089 91.214022,83.843089 67.00031,53.283414 57.455524,47.573214 53.576906,51.826271 35.237316,70.451836 30,83 26.267611,91.942487 31.768193,103.09817 16,103.54464 13.400179,103.28031 10.649888,101.91554 8.4284052,98.366086 5.0624052,94.077086 7.1375169,83.768719 10,78 18.310982,61.251006 46.178622,38.482997 46.178622,38.149997 42.671132,34.613168 24.602102,24.504843 14,20 8.203523,17.537072&#xa;0.43942972,13.9102 2.3942817,9.8785714 3.8424574,6.2602 12.977121,2.3732431 17,2.0910716 z"/>
                    </Button>
                </Grid>
            </StackPanel>
        </ScrollViewer>
        <Grid Grid.Row="2" Height="30">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="0.6"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Button x:Name="SaveBtn" Grid.Column="0"  BorderThickness="0.6" Style="{StaticResource BtnStyle}" Cursor="Hand"  ToolTip="保存" Visibility="{Binding SelectedValue.Key,ElementName=OperationTypeList,Converter={StaticResource operationEnumToNoVisibilityConverter}}" Click="SaveBtn_Click">
                <Path Width="20" Height="20" Stretch="Fill" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}" Data="F1 M 20.5833,20.5833L 55.4167,20.5833L 55.4167,55.4167L 45.9167,55.4167L 45.9167,44.3333L 30.0833,44.3333L 30.0833,55.4167L 20.5833,55.4167L 20.5833,20.5833 Z M 33.25,55.4167L 33.25,50.6667L 39.5833,50.6667L 39.5833,55.4167L 33.25,55.4167 Z M 26.9167,23.75L 26.9167,33.25L 49.0833,33.25L 49.0833,23.75L 26.9167,23.75 Z"/>
            </Button>
            <Button x:Name="RestoreBtn" Grid.Column="2"  BorderThickness="0.6" Style="{StaticResource BtnStyle}" Cursor="Hand"  ToolTip="还原" Visibility="{Binding SelectedValue.Key,ElementName=OperationTypeList,Converter={StaticResource operationEnumToNoVisibilityConverter}}" Click="RestoreBtn_Click">
                <Path Width="20" Height="20" Stretch="Fill" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}" Data="F1 M 19,57L 34,57L 34,42L 28.8076,47.1924C 26.4551,44.8399 25,41.5899 25,38C 25,30.8203 30.8203,25 38,25C 45.1797,25 51,30.8203 51,38C 51,42.6137 48.5965,46.6661 44.9734,48.9734L 49.2862,53.2862C 53.9658,49.8254 57,44.2671 57,38C 57,27.5066 48.4934,19 38,19C 27.5066,19 19,27.5066 19,38C 19,43.2467 21.1266,47.9967 24.565,51.435L 19,57 Z"/>
            </Button>
            <Button x:Name="PrintBtn" Grid.ColumnSpan="3" BorderThickness="0.6" Style="{StaticResource BtnStyle}" Cursor="Hand"  ToolTip="打印" Visibility="{Binding SelectedValue.Key,ElementName=OperationTypeList,Converter={StaticResource operationEnumToVisibilityConverter}}" Click="PrintBtn_Click">
                <Path Width="20" Height="20" Stretch="Fill" Fill="{Binding Foreground,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Button}}}" Data="F1 M 25,27L 25,17L 51,17L 51,27L 47,27L 47,21L 29,21L 29,27L 25,27 Z M 16,28L 60,28L 60,51L 52,51L 52,46L 55,46L 55,33L 21,33L 21,46L 24,46L 24,51L 16,51L 16,28 Z M 25,39L 28,39L 28,52L 35,52L 35,59L 48,59L 48,39L 51,39L 51,62L 33,62L 25,54L 25,39 Z M 46,55L 38,55L 38,52L 46,52L 46,55 Z M 46,49L 30,49L 30,46L 46,46L 46,49 Z M 46,43L 30,43L 30,40L 46,40L 46,43 Z"/>
            </Button>
        </Grid>
    </Grid>
</UserControl>
